home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 2 / AACD 2.iso / AACD / Magazine / GraphicsCards / StormMesa / mklib.qnx < prev    next >
Text File  |  1998-12-15  |  1KB  |  46 lines

  1. #!/bin/sh
  2.  
  3. # Make a QNX library file  (from Steven Bellenot, sfb@entropy.math.fsu.edu)
  4.  
  5.  
  6. #--identification------------------------------------------------------
  7.  
  8. # $Id: mklib.qnx,v 1.1 1998/05/04 23:54:01 brianp Exp $
  9.  
  10. # $Log: mklib.qnx,v $
  11. # Revision 1.1  1998/05/04 23:54:01  brianp
  12. # Initial revision
  13. #
  14.  
  15. #--common--------------------------------------------------------------
  16.  
  17. # Usage:  mklib libname major minor file.o ...
  18. #
  19. # First argument is name of output library (LIBRARY)
  20. # Second arg is major version number (MAJOR)
  21. # Third arg is minor version number (MINOR)
  22. # Rest of arguments are object files (OBJECTS)
  23.  
  24. LIBRARY=$1
  25. shift 1
  26.  
  27. MAJOR=$1
  28. shift 1
  29.  
  30. MINOR=$1
  31. shift 1
  32.  
  33. OBJECTS=$*
  34.  
  35. #--debug---------------------------------------------------------------
  36.  
  37. #echo LIBRARY = $LIBRARY
  38. #echo MAJOR = $MAJOR
  39. #echo MINOR = $MINOR
  40. #echo OBJECTS = $OBJECTS
  41.  
  42. #--platform-------------------------------------------------------------
  43.  
  44. Put your OS/platform-specific commands here for making static/shared libs.
  45. wlib $LIBRARY $OBJECTS
  46.